package com.demo.demo.exception;

import com.demo.demo.common.ExceptionCode;

/**
 * 
 * <p>classname:UnauthorizedException</p>
 * <p>Description:未经授权的</p>
 * <p>Company:斯润天朗</p>
 * @author guogw
 * @version V2.0
 * @date 2018年1月4日 下午5:20:55
 */
public class UnauthorizedException extends AbstractApiException {
	
	private static final long serialVersionUID = -3206177866280163399L;

	public UnauthorizedException(String code,String message) {
        super(code, message);
    }
	
	public UnauthorizedException(String message) {
        super(ExceptionCode.UNAUTHORIZED, message);
    }
}
